Add
Description
Call Add
to insert a new object at the end of the Items
array. Add
returns the index of the new item, where the first item in the collection has an index of 0
. Add
increments Count
and, if necessary, allocates memory by increasing the value of Capacity
.
Syntax
function Add(const Item: TsgHashItem): Integer; overload;
function Add(const AHashCode: UInt64; const AData: Pointer): Integer; overload;